package com.njwb.reflect;

/**
 * Description: 类的描述
 * Author: yuandeyin@itany.com
 * Date: 2025-08-07 09:10
 * Version: 1.0
 */
public class Person {
    static{
        System.out.println("load Person");
    }
    private String name;

    public Person(String name) {
        this.name = name;
    }
    public Person() {
        System.out.println("无参构造");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void setName(String name,int i){}
    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }
}
